package com.emode.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Bbssection entity. @author MyEclipse Persistence Tools
 */

public class Bbssection implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -5429823737949879557L;
	private Integer sid;
	private Bbsusers bbsusers; //smasterID
	private String sname;
	private String sprofile;
	private Integer sclickCount;
	private Integer stopicCount;
	private String ico;
	//	一对多的设置
	private Set bbstopics = new HashSet(0);
	private Set bbsreplies = new HashSet(0);
	private Set upfiles = new HashSet(0);

	// Constructors

	/** default constructor */
	public Bbssection() {
	}

	/** minimal constructor */
	public Bbssection(Bbsusers bbsusers, String sname) {
		this.bbsusers = bbsusers;
		this.sname = sname;
	}

	/** full constructor */
	public Bbssection(Bbsusers bbsusers, String sname, String sprofile,
			Integer sclickCount, Integer stopicCount, String ico,
			Set bbstopics, Set bbsreplies, Set upfiles) {
		this.bbsusers = bbsusers;
		this.sname = sname;
		this.sprofile = sprofile;
		this.sclickCount = sclickCount;
		this.stopicCount = stopicCount;
		this.ico = ico;
		this.bbstopics = bbstopics;
		this.bbsreplies = bbsreplies;
		this.upfiles = upfiles;
	}

	// Property accessors

	public Integer getSid() {
		return this.sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public Bbsusers getBbsusers() {
		return this.bbsusers;
	}

	public void setBbsusers(Bbsusers bbsusers) {
		this.bbsusers = bbsusers;
	}

	public String getSname() {
		return this.sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSprofile() {
		return this.sprofile;
	}

	public void setSprofile(String sprofile) {
		this.sprofile = sprofile;
	}

	public Integer getSclickCount() {
		return this.sclickCount;
	}

	public void setSclickCount(Integer sclickCount) {
		this.sclickCount = sclickCount;
	}

	public Integer getStopicCount() {
		return this.stopicCount;
	}

	public void setStopicCount(Integer stopicCount) {
		this.stopicCount = stopicCount;
	}

	public String getIco() {
		return this.ico;
	}

	public void setIco(String ico) {
		this.ico = ico;
	}

	public Set getBbstopics() {
		return this.bbstopics;
	}

	public void setBbstopics(Set bbstopics) {
		this.bbstopics = bbstopics;
	}

	public Set getBbsreplies() {
		return this.bbsreplies;
	}

	public void setBbsreplies(Set bbsreplies) {
		this.bbsreplies = bbsreplies;
	}

	public Set getUpfiles() {
		return this.upfiles;
	}

	public void setUpfiles(Set upfiles) {
		this.upfiles = upfiles;
	}

}